package cn.gongxi._05mvcboot01.common.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {

    OPERATION_SUCCESS(5000,"操作成功"),
    OPERATION_FAILED(6000,"操作失败"),
    ILLEGAL_ARGUMENT(7000,"非法参数");

    private int state;
    private String message;
}
